package com.tang.calculator.calculateImpl;

import com.tang.calculator.AbstractProcessor;
import com.tang.calculator.CalculateProcessor;
import com.tang.calculator.Context;
import com.tang.calculator.annotation.Operate;
import com.tang.calculator.obj.TestObjPay;
import org.springframework.stereotype.Component;

/**
 * @ClassName: ExpFundApplyStrategy
 * @Author: freedu
 * @Date: 2021/3/19 11:13
 * @Description: TODO
 * @Version: 1.0
 */
@Component("exp_fundApply")
public class ExpFundApplyProcessor extends AbstractProcessor<TestObjPay> implements CalculateProcessor {

    @Operate("add")
    public void add(Context context){
        System.out.println("调用了exp_fundApply的add");
    }

    @Operate("delete")
    public void delete(Context context){
        System.out.println("调用了exp_fundApply的delete");
    }

    @Operate("edit")
    public void edit(Context context){
        System.out.println("调用了exp_fundApply的edit");
    }

    @Operate("submit")
    public void submit(Context context){
        System.out.println("调用了exp_fundApply的submit");
    }

}
